package com.fare.taluo.vo.core;

import java.io.Serializable;
import java.math.BigDecimal;


public class RowKeyInfo implements Serializable {

	private String FROMCITY;
	private String TOCITY;
	private String CARRIERNAME;
	private String FLIGHTDATE;
	private String FLIGHTNO;
	private String GRABCHANNEL;
	private String GRAPTIMESTAMP;
	private BigDecimal DEPTIME;
	private BigDecimal ARRTIME;
	
	
	public String getFROMCITY() {
		return FROMCITY;
	}
	public void setFROMCITY(String fROMCITY) {
		FROMCITY = fROMCITY;
	}
	public String getTOCITY() {
		return TOCITY;
	}
	public void setTOCITY(String tOCITY) {
		TOCITY = tOCITY;
	}
	public String getCARRIERNAME() {
		return CARRIERNAME;
	}
	public void setCARRIERNAME(String cARRIERNAME) {
		CARRIERNAME = cARRIERNAME;
	}
	public String getFLIGHTDATE() {
		return FLIGHTDATE;
	}
	public void setFLIGHTDATE(String fLIGHTDATE) {
		FLIGHTDATE = fLIGHTDATE;
	}
	public String getFLIGHTNO() {
		return FLIGHTNO;
	}
	public void setFLIGHTNO(String fLIGHTNO) {
		FLIGHTNO = fLIGHTNO;
	}
	public String getGRABCHANNEL() {
		return GRABCHANNEL;
	}
	public void setGRAPCHANNEL(String gRABCHANNEL) {
		GRABCHANNEL = gRABCHANNEL;
	}
	public String getGRAPTIMESTAMP() {
		return GRAPTIMESTAMP;
	}
	public void setGRAPTIMESTAMP(String gRAPTIMESTAMP) {
		GRAPTIMESTAMP = gRAPTIMESTAMP;
	}
	
	public BigDecimal getDEPTIME() {
		return DEPTIME;
	}
	public void setDEPTIME(BigDecimal dEPTIME) {
		DEPTIME = dEPTIME;
	}
	public BigDecimal getARRTIME() {
		return ARRTIME;
	}
	public void setARRTIME(BigDecimal aRRTIME) {
		ARRTIME = aRRTIME;
	}
	public String toRowKey(){
		return String.format("%s+%s_%s_%s_%s_%s_%s_%s_%s", FROMCITY,TOCITY,FLIGHTDATE,CARRIERNAME,FLIGHTNO,GRABCHANNEL,DEPTIME,ARRTIME,GRAPTIMESTAMP);
	}
	
}
